package com.example.carapi.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data // getters and setters
@AllArgsConstructor // 全参构造
@NoArgsConstructor // 无参构造
public class CarLike {
    Long id;
    Long user_id;
    Long model_id;

    public CarLike(Long user_id, Long model_id) {
        this.user_id = user_id;
        this.model_id = model_id;
    }
}
